
package com.ami.kvm.jviewer.hid;

import java.util.HashMap;

public class USBKeyProcessorQWERTZ extends USBCrossMapKeyProcessor {
	protected HashMap<Integer, Integer> qwertzMap;

	public USBKeyProcessorQWERTZ(int paramInt) {
		this.qwertzMap = new HashMap();
		this.qwertzMap.put(Integer.valueOf(89), Integer.valueOf(90));
		this.qwertzMap.put(Integer.valueOf(90), Integer.valueOf(89));
		if (paramInt == 4) {
			this.qwertzMap.put(Integer.valueOf(129), Integer.valueOf(61));
			this.qwertzMap.put(Integer.valueOf(521), Integer.valueOf(93));
			this.qwertzMap.put(Integer.valueOf(520), Integer.valueOf(92));
			this.qwertzMap.put(Integer.valueOf(130), Integer.valueOf(192));
			this.qwertzMap.put(Integer.valueOf(45), Integer.valueOf(47));
			this.qwertzMap.put(Integer.valueOf(47), Integer.valueOf(45));
		} else if (paramInt == 8) {
			this.qwertzMap.put(Integer.valueOf(128), Integer.valueOf(61));
			this.qwertzMap.put(Integer.valueOf(135), Integer.valueOf(93));
			this.qwertzMap.put(Integer.valueOf(515), Integer.valueOf(92));
			this.qwertzMap.put(Integer.valueOf(130), Integer.valueOf(61));
		}
		setLocalKeyCodeMap(this.qwertzMap);
		setHostLayoutIndex(paramInt);
	}
}
